package com.collect.cameroon.zhiBean.zhiReceive;

import com.collect.cameroon.zhiUtils.StringUtil;

import java.io.Serializable;

public class ZHIRDsEntity implements Serializable {
    private String contactMobile;
    private String contactRelation;
    private String contactFullName;
    private String orderId;
    private String mobile;
    private String fullName;

    private String nameMatchFlag;

    public String getContactMobile() {
        return StringUtil.safeString(contactMobile);
    }

    public String getContactMobileFormat() {
        return StringUtil.phoneNumberEncryptFormatter(contactMobile);
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactRelation() {
        return StringUtil.safeString(contactRelation);
    }

    public void setContactRelation(String contactRelation) {
        this.contactRelation = contactRelation;
    }

    public String getContactFullName() {
        return StringUtil.safeString(contactFullName);
    }

    public void setContactFullName(String contactFullName) {
        this.contactFullName = contactFullName;
    }

    public String getOrderId() {
        return StringUtil.safeString(orderId);
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getMobile() {
        return StringUtil.safeString(mobile);
    }

    public String getMobileFormat() {
        return StringUtil.phoneNumberEncryptFormatter(mobile);
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getFullName() {
        return StringUtil.safeString(fullName);
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getNameMatchFlag() {
        return StringUtil.safeString(nameMatchFlag);
    }

    public Boolean isNameMatchFlag() {
        return getNameMatchFlag().equalsIgnoreCase("YES");
    }

    public void setNameMatchFlag(String nameMatchFlag) {
        this.nameMatchFlag = nameMatchFlag;
    }
}
